<div class='fui-page  fui-page-current'>
    <div class="fui-header">
		<div class="title">会员资料</div> 
		<div class="fui-header-right">&nbsp;</div>
	</div>
	<div class='fui-content'>
		<div class="fui-list-group">
			<a class="fui-list" href="javascript:;" ng-click="access_json('core/member.cavatar/')">
				<div class="fui-list-media">
					<img class="round avatar" ng-src="{{tomedia(pagedata.post.avatar)  || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-list-inner">
					<div class="title nickname">{{pagedata.post.nickname || '匿名'}}</div>
				</div>
				<div class="fui-list-angle">
					<div class="angle"></div>
				</div>
			</a>
		</div>
		<div class="fui-cell-group">
			<div class="fui-cell must ">
				<div class="fui-cell-label">姓名</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置姓名" ng-model="pagedata.post.name" /></div>
			</div>
			<div class="fui-cell must ">
				<div class="fui-cell-label">身份证号</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置身份证号" ng-model="pagedata.post.code" /></div>
			</div>
			<div class="fui-cell must ">
				<div class="fui-cell-label">单位</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置单位" ng-model="pagedata.post.danwei" /></div>
			</div>
			<div class="fui-cell must ">
				<div class="fui-cell-label ">手机号</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="设置手机号" ng-model="pagedata.post.mobile" /></div>
				<div ng-if="pagedata.post.login_type>0 && !pagedata.bindmobile && pagedata.post.oldmobile" class="fui-cell-remark noremark"><a class="btn btn-default btn-default-o btn-sm" ng-click="pagedata.bindmobile=true;pagedata.post.mobile=''">解绑手机</a></div>
				<div ng-if="pagedata.post.login_type>0 && (pagedata.bindmobile || !pagedata.post.oldmobile)" class="fui-cell-remark noremark"><a class="btn btn-default btn-default-o btn-sm" ng-click="tool.mobile_code({'mobile':pagedata.post.mobile,'oldmobile':pagedata.post.oldmobile},'sms_code')" id="sms_code">获取验证码</a></div>
			</div>
			<div ng-if="pagedata.post.login_type>0 && (pagedata.bindmobile || !pagedata.post.oldmobile)" class="fui-cell must ">
				<div class="fui-cell-label ">验证码</div>
				<div class="fui-cell-info"><input type="text" class='fui-input' placeholder="请输入验证码" ng-model="pagedata.post.smscode" /></div>
			</div>
		</div>
		<a href='javascript:;' ng-click="post(pagedata.post,'post')" class='btn btn-success block'>确认修改</a>
	</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>